package com.ekingstar.framework.domain;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractFunctionField entity provides the base persistence definition of the
 * FunctionField entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractFunctionField implements java.io.Serializable {

	// Fields

	private String id;
	private Function function;
	private Integer fieldClass;
	private String fieldName;
	private String fieldDesc;
	private Integer filedType;
	private Date lastUpdateDate;
    private String updaterId;
    private Date addDate;
    private String adderId;
    private String deleterId;
    private Date deleteDate;
	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}


	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}


	public String getUpdaterId() {
		return updaterId;
	}


	public void setUpdaterId(String updaterId) {
		this.updaterId = updaterId;
	}


	public Date getAddDate() {
		return addDate;
	}


	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}


	public String getAdderId() {
		return adderId;
	}


	public void setAdderId(String adderId) {
		this.adderId = adderId;
	}


	public String getDeleterId() {
		return deleterId;
	}


	public void setDeleterId(String deleterId) {
		this.deleterId = deleterId;
	}


	public Date getDeleteDate() {
		return deleteDate;
	}


	public void setDeleteDate(Date deleteDate) {
		this.deleteDate = deleteDate;
	}

	private Set userFunctionFields = new HashSet(0);
	private Set roleFunctionFields = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractFunctionField() {
	}

	
	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Function getFunction() {
		return this.function;
	}

	public void setFunction(Function function) {
		this.function = function;
	}

	

	public String getFieldName() {
		return this.fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public Integer getFieldClass() {
		return fieldClass;
	}


	public void setFieldClass(Integer fieldClass) {
		this.fieldClass = fieldClass;
	}


	public Integer getFiledType() {
		return filedType;
	}


	public void setFiledType(Integer filedType) {
		this.filedType = filedType;
	}


	public String getFieldDesc() {
		return this.fieldDesc;
	}

	public void setFieldDesc(String fieldDesc) {
		this.fieldDesc = fieldDesc;
	}

	

	public Set getUserFunctionFields() {
		return this.userFunctionFields;
	}

	public void setUserFunctionFields(Set userFunctionFields) {
		this.userFunctionFields = userFunctionFields;
	}

	public Set getRoleFunctionFields() {
		return this.roleFunctionFields;
	}

	public void setRoleFunctionFields(Set roleFunctionFields) {
		this.roleFunctionFields = roleFunctionFields;
	}

}